package com.geilizu.dom.service;

import com.geilizu.dom.dto.AbsentDto;
import com.geilizu.dom.dto.SearchDto;
import com.geilizu.dom.entity.Dormitory;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;
import java.util.Map;

/**
 * (Dormitory)表服务接口
 *
 * @author makejava
 * @since 2022-07-12 17:27:05
 */
public interface DormitoryService {



    List<Dormitory> list(Integer id);


    List<Dormitory> queryAll();

    Integer save(Dormitory dormitory);

    Map<String, Object> listDo(Integer page, Integer size);

    Map<String, Object> search(SearchDto searchDto);

    Dormitory findById(Integer id);

    Integer updateById(Dormitory dormitory);
}
